import { ITableColProp, ITableConfig } from '@/base-ui/table/src/types'

export const propList: ITableColProp[] = [
  {
    prop: 'title',
    label: '故事标题',
    minWidth: '60'
  },
  {
    prop: 'content',
    label: '故事内容',
    minWidth: '120'
  },
  {
    prop: 'createAt',
    label: '创建时间',
    minWidth: '60'
  }
]

export const contentConfig: ITableConfig = {
  propList: propList,
  title: '故事列表',
  isShowIndex: true
}
